# make your current branch point to HEAD, throws away all uncommitted changes git reset --hard HEAD
# Undoes your most recent commit git reset HEAD~1